<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<title>{model.name}|鸿马</title>
<meta name="description" content="<%cutstring({model.describe},180)%>" />
<meta name="keywords" content="{model.name}，网站设计， 网站建设，网站，高端建站" />
 <%template src=/css.html/%>

<body>

 <%template src=/header.html/%>

<div class="wrapper">
  <div class="list_carousel list_carouselShow">
    <ul id="hotNews">
      

       <%csharp%>
            System.Collections.Generic.List<ihongma.Model.web_photo> photomodel=model.Photolist;
     StringBuilder strtag = new StringBuilder();
         string showtag;
         System.Web.Script.Serialization.JavaScriptSerializer java = new System.Web.Script.Serialization.JavaScriptSerializer();
	     
     foreach(ihongma.Model.web_photo  phtom in photomodel)
     {
        strtag.Append(GetAlbumHtml(phtom.id.ToString(),java.Serialize(phtom.Taglist)));
           
       <%/csharp%>
                <li><span class="img photo-container"><img alt=""   id="photo{phtom.id}" name="photo{phtom.id}" src="{phtom.big_img}" ></span></li>
            <%csharp%>
            
            }
             showtag = "{" + strtag.ToString() + "}";
             if (showtag.EndsWith(",}"))
             {
                 showtag = showtag.Remove(showtag.Length - 2, 1);
             }
            <%/csharp%>
           
    
    </ul>
    <div class="clearfix"></div>
    <div id="sliderpager1" class="sliderpager_show"></div>

  </div>
  <script src="../../scripts/phototagger.jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../scripts/coldfusion.json.js"></script>
            <script type="text/javascript">
                var agegaglist = '{showtag}';

                // alert( eval('('+agegaglist+')')[0]);
                $(function () {
                    $("span.photo-container").photoTagger({
                        loadURL: agegaglist,
                        saveURL: "./save_Tag.cfm",
                        deleteURL: "./delete_tag.cfm",
                        cleanAJAXResponse: cleanColdFusionJSONResponse
                    });

                });
    
    </script>
  <div class="item_col">
    <h1>{model.name}</h1>
    <div class="credits">
    <%csharp%>
    string locktexs=model.state==1?"解锁":"已解锁";
string taglist=model.tags.Contains(",")?model.tags.Split(',')[0]:model.tags;
       <%/csharp%>
      <p><span>状态：</span> {locktexs} </p>
      <p><span>网站：</span><a href="{model.weburl}" target="_blank"> {model.weburl} </a></p>
    </div>
    <h4>描述：</h4>
    <p class="italic">{model.describe}</p>
    <h4>标签：</h4>
    <p class="tags"><%set (DataTable){tag_list2}=get_tags_list("id in ("+{model.tags}+")")%>
        <%loop tagr12 tag_list2%> <a href="<%linkurl("design_list2",{tagr12[id]},1)%> ">{tagr12[name]}</a><%/loop%></p>
  </div>
  <div class="clearfix"></div>
  <hr>
  <h1>相关类别：</h1>
  <ul class="listitem sublistitem">
  <%set (DataTable){article_list5}=get_website_list(11,4, "tags like '%"+{taglist}+"%' and id<>"+{model.id}+" ")%>
     <%loop adr5 article_list5%>
  <%csharp%>
    string locktex=adr5["state"].ToString()=="1"?"当前锁定状态，可以购买":"当前解锁状态";


 
    <%/csharp%>
    <li>
      <div class="screenshot">
    <a href="<%linkurl("design_show",{adr5[id]})%>"><img src="{adr5[img]}" >
        <div class="info">
          <div class="state">{locktex}</div>
        </div>
        </a>
      </div>
      <div class="name"><a href="<%linkurl("design_show",{adr5[id]})%>">{adr5[name]}</a></div>
      <div class="tag">
        <i>标签:</i> 
        <%set (DataTable){tag_list}=get_tags_list("id in ("+{adr5[tags]}+")")%>
        <%loop tagr1 tag_list%> <a href="<%linkurl("design_list2",{tagr1[id]},1)%>">{tagr1[name]}</a>
        
        <%/loop%>
      </div>
    </li>
     <%/loop%>
    
  </ul>
  
  <div class="clearfix margin_top30"></div>
  
</div> 
  
  


  <%template src=/footer.html/%>



</body>
</html>
